package cn.csc.module.shop.convert.audit;

import java.util.*;

import cn.csc.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.csc.module.shop.controller.admin.audit.vo.*;
import cn.csc.module.shop.dal.dataobject.audit.ShopAuditDO;

/**
 * 店铺审核记录 Convert
 *
 * @author liuchuang
 */
@Mapper
public interface ShopAuditConvert {

    ShopAuditConvert INSTANCE = Mappers.getMapper(ShopAuditConvert.class);

    ShopAuditDO convert(ShopAuditCreateReqVO bean);

    ShopAuditDO convert(ShopAuditUpdateReqVO bean);

    ShopAuditRespVO convert(ShopAuditDO bean);

    List<ShopAuditRespVO> convertList(List<ShopAuditDO> list);

    PageResult<ShopAuditRespVO> convertPage(PageResult<ShopAuditDO> page);

    List<ShopAuditExcelVO> convertList02(List<ShopAuditDO> list);

    ShopAuditExcelVO map(ShopAuditDO value);

}
